Method for selecting virtual objects, apparatus, terminal and storage medium

ABSTRACT

A method is provided for selecting a virtual object on a user terminal of a terminal. The method is performed by the terminal and includes: displaying the user interface; obtaining a predefined execution area of a first operation of a first virtual object within a virtual environment; obtaining a visible boundary scope of the virtual environment; determining, based on the predefined execution area and the visible boundary scope, an effective execution area of the first operation within the virtual environment; and determining, based on the effective execution area, a target virtual object.

RELATED APPLICATION(S)

This application is a continuation application of PCT Patent ApplicationNo. PCT/CN2021/083725, filed on Mar. 30, 2021, which claims the benefitof Chinese Patent Application, No. 202010398569.3, entitled “Method forSelecting Virtual Objects, Apparatus, Terminal and Storage medium”,filed on May 12, 2020, the entire contents of all of which are herebyincorporated by reference in entirety.

FIELD OF THE TECHNOLOGY

The present disclosure relates to computer and Internet technologies,and more particularly, to a method for selecting virtual objects, anapparatus, a terminal and a storage medium.

BACKGROUND

Different types of skills of virtual objects are employed in gameapplications.

In a game, a user may control a first virtual object to use skills toattack a second virtual object, in which the second virtual object andthe first virtual object are in different camps. When the first virtualobject releases a skill, a client may obtain an attack scope of theskill, and takes the second virtual object within the attack scope as anattack target of the first virtual object.

However, the selected attack target may be not displayed on a terminaldisplay, which is inconsistent with the user's situation, resulting in alow accuracy in the selection of attack targets.

SUMMARY

Embodiments of the present disclosure provide a method for selectingvirtual objects on a user interface of a terminal, an apparatus, theterminal and a storage medium, which may ensure that the action targetof the first operation is within the user's visual scope, and theaccuracy for selecting the action target of the first operation isimproved.

In one aspect, the present disclosure provides a method for selecting avirtual object on a user interface of a terminal, performed by theterminal, including: displaying a user interface, wherein the userinterface includes a display screen corresponding to a virtualenvironment, and further includes a first virtual object located in thevirtual environment; obtaining a predefined execution area of a firstoperation of the first virtual object within the virtual environment;obtaining a visible boundary scope of the virtual environment, whereinvirtual objects that reside in the visible boundary scope are visible onthe user interface; determining, based on the predefined execution areaand the visible boundary scope, an effective execution area of the firstoperation within the virtual environment; and, determining, based on theeffective execution area, a target virtual object.

In another aspect, the present disclosure provides an apparatus forselecting a virtual object on a user interface of a terminal, theapparatus includes a memory storing computer program instructions; and aprocessor coupled to the memory and configured to execute the computerprogram instructions and perform: displaying the user interface, whereinthe user interface includes a display screen corresponding to a virtualenvironment, and further includes a first virtual object located in thevirtual environment; obtaining a predefined execution area of a firstoperation of the first virtual object within the virtual environment;obtaining a visible boundary scope of the virtual environment, whereinvirtual objects that reside in the visible boundary scope are visible onthe user interface; determining, based on the predefined execution areaand the visible boundary scope, an effective execution area of the firstoperation within the virtual environment; and determining, based on theeffective execution area, a target virtual object.

In yet another aspect, the present disclosure provides a non-transitorycomputer-readable storage medium storing computer program instructionsexecutable by at least one processor to perform: displaying a userinterface of a terminal, wherein the user interface includes a displayscreen corresponding to a virtual environment, and further includes afirst virtual object located in the virtual environment; obtaining apredefined execution area of a first operation of the first virtualobject within the virtual environment; obtaining a visible boundaryscope of the virtual environment, wherein virtual objects that reside inthe visible boundary scope are visible on the user interface;determining, based on the predefined execution area and the visibleboundary scope, an effective execution area of the first operationwithin the virtual environment; and determining, based on the effectiveexecution area, a target virtual object.

Other aspects of the present disclosure can be understood by thoseskilled in the art in light of the description, the claims, and thedrawings of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

To facilitate a better understanding of technical solutions of certainembodiments of the present disclosure, accompanying drawings aredescribed below. The accompanying drawings are illustrative of certainembodiments of the present disclosure, and a person of ordinary skill inthe art may still derive other drawings from these accompanying drawingswithout having to exert creative efforts. When the followingdescriptions are made with reference to the accompanying drawings,unless otherwise indicated, same numbers in different accompanyingdrawings may represent same or similar elements. In addition, theaccompanying drawings are not necessarily drawn to scale.

FIG. 1 is a schematic diagram illustrating a running environment of anapplication, in accordance with one or more embodiments of the presentdisclosure;

FIG. 2 is a schematic diagram illustrating structure of a terminal, inaccordance with one or more embodiments of the present disclosure;

FIG. 3 is a schematic flowchart illustrating a method for selecting avirtual object on a user interface of a terminal, in accordance with oneor more embodiments of the present disclosure;

FIG. 4 is a schematic diagram illustrating how to obtain a predefinedexecution area, in accordance with one or more embodiments of thepresent disclosure;

FIG. 5 is a schematic diagram illustrating how to display a visibleboundary scope, in accordance with one or more embodiments of thepresent disclosure;

FIG. 6 is a schematic diagram illustrating how to obtain an effectiveexecution area, in accordance with one or more embodiments of thepresent disclosure;

FIG. 7 is a schematic diagram illustrating how to obtain a visibleboundary scope, in accordance with one or more embodiments of thepresent disclosure;

FIG. 8 is a schematic flowchart illustrating a method for selecting avirtual object on a user interface of a terminal, in accordance with oneor more embodiments of the present disclosure;

FIG. 9 is a schematic diagram illustrating a method for selecting avirtual object on a user interface of a terminal, in accordance with oneor more embodiments of the present disclosure;

FIG. 10 is a schematic block diagram of an apparatus for selecting avirtual object on a user interface of a terminal, in accordance with oneor more embodiments of the present disclosure;

FIG. 11 is a schematic block diagram of an apparatus for selecting avirtual object on a user interface of a terminal, in accordance with oneor more embodiments of the present disclosure; and

FIG. 12 is a schematic block diagram illustrating structure of aterminal, in accordance with one or more embodiments of the presentdisclosure.

DETAILED DESCRIPTION

To make objectives, technical solutions, and/or advantages of thepresent disclosure more comprehensible, certain embodiments of thepresent disclosure are further elaborated in detail with reference tothe accompanying drawings. The embodiments as described are not to beconstrued as a limitation to the present disclosure. All otherembodiments obtained by a person of ordinary skill in the art withoutcreative efforts shall fall within the protection scope of embodimentsof the present disclosure.

Throughout the description, and when applicable, “some embodiments” or“certain embodiments” describe subsets of all possible embodiments, butit may be understood that the “some embodiments” or “certainembodiments” may be the same subset or different subsets of all thepossible embodiments, and can be combined with each other withoutconflict.

In certain embodiments, the term “based on” is employed hereininterchangeably with the term “according to.”

FIG. 1 is a schematic diagram illustrating a running environment of anapplication, in accordance with an embodiment of the present disclosure.The application running environment may include a terminal 10 and aserver 20.

The terminal 10 may be electronic equipment (UE), such as a mobilephone, a tablet computer, a game host, an E-book reader, Multimediaplayback equipment, a Wearable Device, a Personal Computer (PC). Aclient of an application may be installed to the terminal 10.

The application may be any application that can provide a virtualenvironment, such that a virtual object selected and operated by a userperforms activities within the virtual environment. In certainembodiments, the application is a game application, such as, MultiplayerOnline Battle Arena (MOBA) game, Battle Royale (BR) game, Third-PersonalShooting Game (TPS), First-Person Shooting Game (FPS) and Multiplayergun battle survival game. In addition to game applications, other typesof applications may also display a virtual object for users, and providea corresponding function for the virtual object, e.g., Virtual Reality(VR) applications, Augmented Reality (AR) applications,three-dimensional map programs, military simulation programs, socialapplications, interactive entertainment applications, and so on, whichare not limited by embodiments of the present disclosure. In addition,for a different application, the form and corresponding function of avirtual object provided will be different, which may be configured orpre-configured according to what may be desirable, and are not limitedby embodiments of the present disclosure. A client of foregoingapplication runs on the terminal 10. In some embodiments, foregoingapplication is developed based on a three-dimensional virtualenvironment engine, e.g., such virtual environment engine is Unityengine. The virtual environment engine may build a third-dimensionalvirtual environment, a virtual object and virtual props, and so on,which bring users a more immersive gaming experience.

The virtual environment is a scene, which is displayed (or provided) bya client of an application (e.g., a game application), when the clientruns on the terminal. Such virtual environment refers to a scene createdfor virtual objects to perform activities (such as game competition),such as virtual houses, virtual islands, virtual maps, and virtualbuildings, and so on. Such virtual environment may be a simulationenvironment of the real world, a semi-simulation and semi-fictionalenvironment, or a purely fictional environment. The virtual environmentmay be a two-dimensional virtual environment, or a 2.5-dimensionalvirtual environment, or a three-dimensional virtual environment, whichare not limited by embodiments of the present disclosure.

The virtual object may be a virtual character controlled by a useraccount in the application, or may be a virtual character controlled bya computer program in the application. In an example, where theapplication is a game application, the virtual object may be a gamecharacter controlled by a user account in the game application, or maybe a game monster controlled by a computer program in the gameapplication. A virtual object may be a character form, an animal, acartoon, or other form, which is not limited in the embodiments of thepresent disclosure. The virtual object may be displayed in athree-dimensional form or a two-dimensional form, which is not limitedin the embodiments of the present disclosure. When the virtualenvironment is a three-dimensional environment, the virtual object is athree-dimensional model created based on animation skeletal technology.In the three-dimensional environment, each virtual object has its ownshape and volume, and occupies a part of the space in thethree-dimensional virtual environment. In the embodiments of the presentdisclosure, the terminal 10 may receive an operation from a virtualobject, determine an effective execution area, based on a predefinedexecution area of the operation and a visible boundary scope of thevirtual environment, and then, determine a target virtual objectcorresponding to the operation in the effective execution area.

In certain embodiments, the virtual objects include virtual objects inthe same camp and virtual objects in different camps. That is, in theapplication, virtual objects are divided into different camps.Illustratively, taking the MOBA game as an example, ten users play amatching game and are divided into two teams, i.e., the red team and theblue team. That is, every 5 people are in a group. At this time, virtualobjects of the red team are in the same camp and are teammates, andvirtual objects of the blue team are in the same camp and are teammates.However, virtual objects of the red team and virtual objects of the blueteam are in different camps, and are hostile to each other.

The server 20 is configured to provide background services for a clientof an application in the terminal 10. For example, the server 20 may bea background server of foregoing application. The server 20 may be aserver, or a server cluster composed of multiple servers, or a cloudcomputing service center. The server 20 may simultaneously providebackground services for applications of various terminals 10.

The terminal 10 and the server 20 may communicate with each otherthrough a network 30.

FIG. 2 is a schematic diagram illustrating structure of a terminal, inaccordance with an embodiment of the present disclosure. The terminal 10may include a main board 110, an external output/input device 120, amemory 130, an external interface 140, a touch control system 150 and apower supply 160.

The main board 110 integrates processing elements such as a processorand a controller.

For the terminal, the external output/input device 120 may include adisplay component (such as a display), a sound playback component (suchas a speaker), a sound collection component (such as a microphone), allkinds of buttons, and so on. For a PC terminal, the externaloutput/input device 120 may include a display component (such as adisplay), a sound playback component (such as a speaker), a soundcollection component (such as a microphone), all kinds of buttons (suchas mouse and keyboard), and so on.

The memory 130 stores program codes and data.

The external interface 140 may include a headphone interface, a charginginterface, a data interface, and so on.

The touch control system 150 may be integrated into the displaycomponent, or button of the external output/input device 120. The touchcontrol system 150 is configured to detect a touch control operationperformed by a user on the display component or button.

The power supply 160 is configured to provide power for other componentsin the terminal 10.

In the embodiments of the present disclosure, the processor in the mainboard 110 may generate a user interface (e.g., game interface), byexecuting or calling program codes or data in the memory, and displaythe generated user interface (e.g., game interface) through the externaloutput/input device 120. During the process of displaying the userinterface (e.g., game interface), a touch operation executed when a userinteracts with a user interface (e.g., game interface) may be detectedthrough the touch control system 150, and a response to the touchcontrol operation may be made through the touch control system 150.

FIG. 3 is a flowchart illustrating a method for selecting a virtualobject on a user interface of a terminal, in accordance with anembodiment of the present disclosure. The method may be applied to theterminal, e.g., an execution entity of each block may be the terminal 10(referred to as “client” hereinafter) in the application runningenvironment shown in FIG. 1. The method may include the following blocks(301˜305).

In block 301, display a user interface.

The user interface may be a picture of an application displayed for auser by a client. The application may be a computer program to bedownloaded and installed, and may be a click-to-run computer program.Foregoing application may be any application that may provide a virtualenvironment, e.g., a game application program. The user interfaceincludes a display screen of the virtual environment. The display screenmay include virtual items, e.g., a virtual building, a virtualenvironment, a virtual map, and so on. The user may control a firstvirtual object to interact with various virtual items within the virtualenvironment.

In the embodiments of the present disclosure, when receiving aninstruction for triggering application launch from a user, the clientmay also control the running of the application, and display the userinterface corresponding to the application. The user interface includesa display screen corresponding to the virtual environment, and furtherincludes a first virtual object located in the virtual environment. Thefirst virtual object may be a virtual object controlled by the user.

In block 302, obtain a predefined execution area of a first operation ofthe first virtual object within the virtual environment.

The first virtual object is a virtual character controlled by foregoinguser within the virtual environment. The first virtual object may be inthe form of a character, an animal, a cartoon, or other forms, which arenot limited by the embodiments of the present disclosure. In theembodiments of the present disclosure, the first virtual object may bedisplayed in three-dimensional or two-dimensional form.

The first operation refers to any interactive operation between thefirst virtual object and foregoing virtual environment, e.g., the firstoperation is a skill release operation of the first virtual object, oran ordinary attack operation of the first virtual object. The actiontarget of the interactive operation may be a virtual item within thevirtual environment, or other virtual objects of the virtualenvironment, which are not limited by the embodiments of the presentdisclosure.

In certain embodiments, foregoing first operation is triggered by thefirst virtual object, which is controlled by the user. The user maystart the trigger instruction of the first operation, by clicking acorresponding icon or pressing a corresponding key. Furthermore, afterreceiving the trigger instruction, the client may control the firstvirtual object to perform foregoing first operation.

In certain embodiments, foregoing first operation is trigged by thefirst virtual object, which is controlled by the computer program. Afterrunning foregoing application, the client may control the first virtualobject to perform foregoing first operation, according to a presetcriteria. The preset criteria may be set flexibly. For example,foregoing preset criteria includes online duration of the first virtualobject. The client may detect the online duration of the first virtualobject. When the online duration of the first virtual object meets arequirement, the client may control the first virtual object to performforegoing first operation. For another example, foregoing presetcriteria includes attribute parameters of the first virtual object, theclient may detect the attribute parameters of the first virtual object.When the one or more attribute parameters of the first virtual objectmeets a requirement, the client controls the first virtual object toperform foregoing first operation. The attribute parameters may includea life value, a defense value, or an attack speed, and so on, which arenot limited by the embodiments of the present disclosure. Alternatively,foregoing preset criteria includes operation parameters of the firstvirtual object, and the client may detect the operation parameters ofthe first virtual object. When the operation parameters of the firstvirtual object meet a requirement, the client controls the first virtualobject to perform foregoing first operation. Foregoing operationparameters may be number of monsters defeated, number of skill released,number of items used, and so on, which are not limited by theembodiments of the present disclosure. It should be noted that,foregoing introduction to the preset criteria is only exemplary andexplanatory. In practical implementations, foregoing preset criteria maybe flexibly set according to actual situations.

The predefined execution area refers to an action scope of foregoingfirst operation. A different first operation may correspond to adifferent predefined execution area. In the embodiments of the presentdisclosure, after displaying foregoing user interface, the client mayobtain the predefined execution area of the first operation of the firstvirtual object within the virtual environment. The shape of thepredefined execution area may be circle, rectangle, or triangle, and soon, which are not limited by the embodiments of the present disclosure.

In certain embodiments, foregoing predefined execution area is a presetscope. The preset scope is set by a designer, which is not changedduring the running of the application. In certain embodiments, foregoingpredefined execution area is a requirement scope. The requirement scopechanges according to different requirements during the running of theapplication, e.g., the predefined execution area of the first operationmay be proportional or inversely proportional to the number ofexecutions of the first operation, etc. In actual implementations,foregoing requirement may be set flexibly according to actualsituations, which are not limited by the embodiments of the presentdisclosure.

In the embodiments of the present disclosure, the client may obtainforegoing predefined execution area, according to location informationof the first virtual object. Foregoing block 302 may include severalblocks as follows.

1. Obtain location information of the first virtual object within thevirtual environment.

2. Determine the predefined execution area of the first operation withinthe virtual environment, based on the location information and apredefined execution distance of the first operation.

The location information is configured to indicate the location of thevirtual object within the virtual environment. The location informationis represented in the form of coordinates.

The predefined execution distance refers to the maximum action distanceof foregoing first operation. Within the virtual environment, a virtualitem or virtual object, distance to the first virtual object is lessthan the maximum action distance, may be taken as the action target ofthe first operation. In the embodiments of the present disclosure, theclient may obtain the location information of foregoing first virtualobject, and determine the predefined execution area of the firstoperation, based on the location information and the predefinedexecution distance of the first operation. The client may determineboundary points of the predefined execution area, based on the locationinformation and the predefined execution distance of the firstoperation, and then determine the predefined execution area.Alternatively, the client may also determine each area point within thepredefined execution area, based on the location information and thepredefined execution distance of the first operation, and then determinethe predefined execution area, which are not limited by the embodimentsof the present disclosure. The same first operation may possess one ormore predefined execution distances.

In certain embodiments, the first operation has one predefined executiondistance. At this time, the predefined execution area is a circle scopecentered on the first virtual object. The distance between a boundarypoint of the predefined execution area and the first virtual object isthe same. When obtaining the predefined execution area of the firstoperation, the client may firstly obtain the location information of thefirst virtual object and the predefined execution distance of the firstoperation, determine area points within the virtual environment, inwhich the distance between an area point and the first virtual object isless than, or equal to the predefined execution distance. A scopeconsisting of the area points is the predefined execution area of thefirst operation.

In certain embodiments, the first operation has multiple predefinedexecution distances. At this time, the distance between a boundary pointof the predefined execution area and the first virtual object is notequal. When obtaining the predefined execution area, the client mayfirstly obtain the location information of the first virtual object andmultiple predefined execution distances of the first operation. Theclient may take the standing direction of the first virtual object as areference, determine area points within the virtual environment fromvarious directions of the virtual environment, based on the locationinformation, in which the distance between an area point and the firstvirtual object is less than, or equal to a corresponding predefinedexecution distance. A scope consisting of the area points is thepredefined execution area of the first operation. The standing directionof the first virtual object may be the real-time moving direction of thefirst virtual object.

In an example, where the predefined execution area is a rectangle, inconjunction with FIG. 4, in the virtual environment, the standingdirection of the first virtual object 41 is a first direction 42. Whenobtaining the predefined execution area 43 of the first operation, theclient may obtain the location information of the first virtual object41 and multiple predefined execution distances of the first operation,take the first direction 42 as a reference, obtain multiple boundarypoints 44 of the predefined execution area, and then, determine thepredefined execution area 43 of the first operation.

It should be noted that, in the embodiments of the present disclosure,after displaying a user interface, the client may obtain the predefinedexecution area of the first operation in real time, and update thepredefined execution area, based on the change of the locationinformation of the first virtual object. Alternatively, after receivingthe trigger instruction of the first operation, the client may obtainthe predefined execution area of the first operation, which is notlimited by the embodiments of the present disclosure.

In block 303, obtain a visible boundary scope of the virtualenvironment.

The visible boundary scope refers to a display scope of the userinterface. The display scope may be a scope obtained by the virtualcamera from the virtual environment. That is, the virtual environment inforegoing visible boundary scope is visible on the user interface, e.g.,virtual objects that reside in the visible boundary scope are visible onthe user interface. In the embodiments of the present disclosure, theclient may determine a display scope of the virtual camera, based onscreen scope of the client, and then, obtain the visible boundary scopeof the virtual environment.

Due to the shooting angle of the virtual camera, the visible boundaryscope is not the same as the screen scope of the client. Exemplarily, inconjunction with FIG. 5, a virtual camera 51 may obtain virtual items ina virtual environment, and map the virtual items to a screen scope 52 ofthe client. Due to the shooting angle of the virtual camera 51, a firstvirtual object 53 and a solid line portion of a second virtual object 54may be displayed in the screen scope 52. That is, a dashed scope 55(i.e., slash coverage area) in FIG. 5 is the visible boundary scope.

It should be noted that, the embodiments of the present disclosure donot limit the chronological order between the block of obtaining thepredefined execution area by the client, and the block of obtaining thevisible boundary scope by the client. The client may firstly obtain thepredefined execution area, and then, obtain the visible boundary scope.Alternatively, the client may firstly obtain the visible boundary scope,and then, obtain the predefined execution area. The client may alsosimultaneously obtain the predefined execution area and the visibleboundary scope, which are not limited by the embodiments of the presentdisclosure.

In block 304, determine, based on the predefined execution area andvisible boundary scope, an effective execution area of the firstoperation in the virtual environment.

The effective execution area refers to an action scope of the firstoperation in an actual operation process. The effective action scopeincludes the action target of the first operation. The first operationmay only affect virtual items, or virtual objects within the effectiveexecution area of the virtual environment, and may not affect virtualitems, or virtual objects outside the effective execution area. Afterobtaining the predefined execution area of foregoing first operation andthe visible boundary scope of the virtual environment, the client maydetermine, based on the predefined execution area and the visibleboundary scope, the effective execution area of the first operation inthe virtual environment.

In the embodiments of the present disclosure, the client may identifythe intersection area of the predefined execution area and the visibleboundary scope as the effective execution area of the first operation inthe virtual environment. Exemplarily, in conjunction with FIG. 6, apredefined execution area 61 of the first operation is a circle scope. Avisible boundary scope 62 of the virtual environment is a rectanglescope. The client identifies an intersection area (solid-line scopearea) of the predefined execution area 61 and the visible boundary scope62 as the effective execution area of the first operation.

In block 305, determine, based on the effective execution area, a targetvirtual object.

The target virtual object refers to the action object of foregoing firstoperation.

In the embodiments of the present disclosure, after obtaining foregoingeffective execution area, the client may determine the target virtualobject corresponding to the first operation, based on the effectiveexecution area.

In certain embodiments, in order to reduce the response duration of thefirst operation and improve users' execution experience, afterdisplaying the user interface, the client may obtain the effectiveexecution area of the first operation in real time, determine the targetvirtual object corresponding to the first operation based on theeffective execution area, and update foregoing effective execution areaand the target virtual object. Subsequently, after receiving the triggerinstruction of foregoing first operation, the client may quicklydetermine the target virtual object corresponding to the firstoperation, and control the first virtual object to perform the firstoperation.

In certain embodiments, in order to reduce processing overhead of aterminal, after obtaining the trigger instruction of the firstoperation, the client may obtain the effective execution area of thefirst operation, based on the trigger instruction of the firstoperation, determine the target virtual object corresponding to thefirst operation based on the effective execution area, and then, controlthe first virtual object to perform the first operation.

In view of above, in the technical solutions provided by the embodimentsof the present disclosure, the effective execution area of the firstoperation is determined, based on the predefined execution area of thefirst operation and the visible boundary scope of the virtualenvironment. The target virtual object corresponding to the firstoperation is determined, based on the effective execution area, suchthat the target virtual object is located in the visible boundary scope,thereby guaranteeing that the action object of the first operation iswithin the visible scope of the user, avoiding an operation misjudgmentresulted from the following scene, i.e., the action object is within aninvisible scope of the user, and improving the accuracy for selectingthe action target of the first operation.

In addition, identify the intersection area of the predefined executionarea and the visible boundary scope as the effective execution area ofthe first operation, thereby effectively ensuring that the action targetof the first operation is not only in the execution area of the firstoperation, but also in the visible scope of the user.

The obtaining of the visible boundary scope is introduced in thefollowing. In an exemplary embodiment, foregoing block 303 includes thefollowing blocks.

Process a three-dimensional visual representation in the virtualenvironment, and obtain a two-dimensional visual representation of thevirtual environment by the processing of the three-dimensional visualrepresentation.

The three-dimensional visual representation refers to a running visualrepresentation of the virtual environment. In the running visualrepresentation, the first virtual object interacts with the virtualenvironment. The two-dimensional visual representation refers to apicture display diagram of the virtual object. The picture displaydiagram may be displayed on the user interface of the client.

In the embodiments of the present disclosure, when obtaining the visibleboundary scope, the client may process the three-dimensional visualrepresentation, and obtain the two-dimensional visual representation inthe virtual environment by the processing of the three-dimensionalvisual representation.

Obtain, from the two-dimensional visual representation of the virtualenvironment, coordinates of feature points of the visible boundary scopewithin the virtual environment.

The feature points are configured to indicate a specific scope of thevisible boundary scope. The feature points may be boundary points of thevisible boundary scope, e.g., vertexes of the visible boundary scope. Itshould be noted that, the number of the feature points may be any value,which are not limited by the embodiments of the present disclosure.

After obtaining foregoing two-dimensional visual representation of thevirtual environment, the client may obtain, from the two-dimensionalvisual representation, coordinates of feature points of visible boundaryscope within the virtual environment, and then, obtain the visibleboundary scope. In the embodiments of the present disclosure, the clientmay obtain, based on parameters of the virtual camera, the coordinatesof feature points of the visible boundary scope within the virtualenvironment. The parameters include a location parameter and a rotationparameter. The location parameter is configured to determine thelocation of the virtual camera in the virtual environment. The rotationparameter is configured to determine a shooting angle value of thevirtual camera in the virtual environment. The client may obtain theshooting angle value of the virtual camera, based on the rotation angleand shooting angle of the virtual camera.

It should be noted that, in the embodiments of the present disclosure,since a different client corresponds to a different screen, the clientmay adjust, based on screen parameters, parameters of the virtualcamera, obtain the location parameter and rotation parameter of thevirtual camera by the process of the adjustments. And then, the clientobtains, based on the location parameter and rotation parameter, thecoordinates of feature points of the visible boundary scope within thevirtual environment, such that the display screen of the virtualenvironment obtained by the virtual camera is matched with the userinterface of the client. The screen parameters include a screen size anda screen resolution, that is, the client may adaptively adjust thelocation parameter and rotation parameter of the virtual camera, basedon the screen size and screen resolution. Subsequently, the displayscreen of the virtual environment obtained by the virtual camera mayadapt to the screen size and screen resolution of the client.

Obtain, based on the coordinates of feature points in the virtualenvironment, the visible boundary scope.

After obtaining foregoing coordinates of feature points in the virtualenvironment, the client may obtain, based on the coordinates of featurepoints in the virtual environment, the visible boundary scope. Forexample, according to the shape of the visible boundary scope, theclient may connect the feature points, and obtain foregoing visibleboundary scope.

Exemplarily, assume that the virtual environment includes athree-dimensional coordinate system, the x-axis and y-axis of thethree-dimensional coordinate system are parallel to the parallel planeof the virtual environment. The angle between the x-axis and the y-axisis 90°. The z-axis is perpendicular to the parallel plane of the virtualenvironment. The x-axis, y-axis and z-axis intersect at a point O.Subsequently, the location of the virtual camera in the virtualenvironment is shown in FIG. 7. The coordinates of the virtual cameraare (x₁, y₁, z₁). From the y-axis and z-axis, the value rangez_(min)˜z_(max) of z-axis in the visible boundary scope is obtained. Asshown in FIG. 7, the rotation angle of the virtual camera on the x-axisis CA, and the shooting angle is FA. The client may determine therotation angle value of the virtual camera is CA-FA/2˜CA+FA/2, based onthe rotation angle CA and the shooting angle FA. Furthermore, the valuerange z_(min)˜z_(max) of z-axis in the visible boundary scope is:

z _(min) =z ₁ +y ₁*tan(CA−FA/2);

z _(max) =z ₁ +y ₁*tan(CA+FA/2);

Furthermore, from the x-axis and z-axis, the client obtains the vertexcoordinates (x_(Topmin), z_(max)), (x_(TopMax), z_(max)), (x_(BotMin),z_(min)),(x_(BotMax), z_(min)) of the visible boundary scope.(x_(TopMin), z_(max)) is the upper left vertex of the visible boundaryscope. (x_(TopMax), z_(max)) is the upper right vertex of the visibleboundary scope. (x_(BotMin), z_(min)) is the bottom left vertex of thevisible boundary scope. (x_(BotMax), z_(min)) is the bottom right vertexof the visible boundary scope. According to geometric principles, it canbe seen that xTopMin, xTopMax, x_(BotMin) and x_(BotMax) arerespectively as follows:

${x_{TopMin} = {x_{1} - \left( \frac{y_{1}/{\sin\left( {{CA} - \frac{FA}{2}} \right)}}{\tan({CAA})} \right)}};$${x_{TopMax} = {x_{1} + \left( \frac{y_{1}/{\sin\left( {{CA} - \frac{FA}{2}} \right)}}{\tan({CAA})} \right)}};$${x_{BotMin} = {x_{1} - \left( \frac{y_{1}/{\sin\left( {{CA} + \frac{FA}{2}} \right)}}{\tan({CAA})} \right)}};$${x_{BotMax} = {x_{1} + \left( \frac{y_{1}/{\sin\left( {{CA} + \frac{FA}{2}} \right)}}{\tan({CAA})} \right)}};$

CAA refers to the horizontal opening angle of the virtual camera.

Since the virtual environment is displayed on the user interface in theform of two-dimensional visual representation, and the y-axis isperpendicular to the screen inward in the actual coordinate direction ofthe client, in the two-dimensional visual representation, vertexcoordinates of the visible boundary scope are (x_(TopMin), 0, z_(max)),(x_(TopMax), 0, z_(max)), (x_(BotMax), 0, z_(min)) and (x_(BotMax), 0,z_(min)). After obtaining the vertex coordinates (x_(TopMin), 0,z_(max)), (x_(TopMax), 0, z_(max)), (x_(BotMin), 0, z_(min)) and(x_(BotMax) 0, z_(min)), the client may connect these vertexcoordinates, and then obtain foregoing visible boundary scope. At thistime, the visible boundary scope is a trapezoidal scope 71.

It should be noted that, foregoing block of obtaining the visibleboundary scope may be performed by a certain computer program module inan application. The computer program module may exist as a plug-in inthe application, such as a screen margin filter.

FIG. 8 is a flowchart illustrating a method for selecting a virtualobject on a user interface of a terminal, in accordance with anotherembodiment of the present disclosure. The method may be applied to theterminal, e.g., the execution entity of each block may be the terminal10 (referred to as “client” in the following) in the application runningenvironment shown in FIG. 1. The method may include several blocks(801˜806) as follows.

In block 801, display a user interface.

In block 802, obtain a predefined execution area of a first operation ofa first virtual object within a virtual environment.

In block 803, obtain a visible boundary scope of the virtualenvironment.

In block 804, determine, based on the predefined execution area and thevisible boundary scope, an effective execution area of the firstoperation in the virtual environment.

Foregoing blocks 801-804 are the same as blocks 301-304 in theembodiment illustrated with FIG. 3, contents corresponding to theembodiment illustrated with FIG. 3 are not repeated here.

In block 805, determine a second virtual object in the effectiveexecution area as a candidate virtual object.

The second virtual object refers to a virtual object controlled by theuser, or another user in the application. The candidate virtual objectrefers to a candidate action target of foregoing first operation. Afterobtaining foregoing effective execution area, the client may take avirtual object in the effective execution area as the second virtualobject. The second virtual object includes a virtual object in the samecamp with the first virtual object, and may also include a virtualobject in a different camp with the first virtual object.

In certain embodiments, after obtaining foregoing effective executionarea, the client may compare coordinates of boundary points of theeffective execution area with location coordinates of the virtualobject, and then, obtain the second virtual object in the effectiveexecution area.

In certain embodiments, in order to reduce processing overheads of aterminal, the client may directly determine the second virtual object inthe effective execution area, based on the predefined execution area andthe visible boundary scope. After obtaining the predefined executionarea, the client may obtain the second virtual object in the predefinedexecution area, and obtain the location information of the secondvirtual object. Furthermore, the client determines whether the secondvirtual object meets a requirement, based on the location information.The requirement is a judgment requirement used to determine whether thesecond virtual object is within the effective execution area. If thelocation information of the second virtual object meets the requirement,the second virtual object is located within the effective executionarea. If the location information of the second virtual object does notmeet the requirement, the second virtual object is not located withinthe effective execution area.

Foregoing requirement may include a first requirement and a secondrequirement. The visible boundary scope is a trapezoidal area enclosedby a first edge, a second edge, a third edge and a fourth edge.Meanwhile, the first edge is parallel to the third edge. After obtainingthe location information of the second virtual object within thepredefined execution area, the client may analyze and detect thelocation information. If the location information of foregoing secondvirtual object is located between the first edge and the third edge, theclient determines that the second virtual object meets the firstrequirement. If the location information of foregoing second virtualobject is located between the second edge and the fourth edge, theclient determines that the second virtual object meets the secondrequirement. When the second virtual object meets the first requirementand the second requirement, the client determines that the secondvirtual object is located within the effective execution area.

Exemplarily, in conjunction with FIG. 7, the visible boundary scope is atrapezoidal scope 71. Vertex coordinates of the trapezoidal scope are(x_(TopMin), 0, z_(max)), (x_(TopMax), 0, z_(max)),(z_(BotMin), 0,z_(min)) and (x_(BotMax), 0, z_(min)). Assume that the coordinates ofthe second virtual object are (h_(x), h_(y), h_(z)), foregoing firstrequirement is:

z _(min) <h _(z) <z _(max).

If the location information of the second virtual object meets foregoingfirst requirement, it is determined that the second virtual object islocated between mutually paralleled first edge and third edge in thetrapezoidal scope 71.

Foregoing second requirement is:

${{h_{x} - x_{BotMax} - {\left( \frac{\left( {z_{\max} - z_{\min}} \right)}{\left( {x_{TopMax} - x_{BotMax}} \right)} \right)*\left( {h_{y} - z_{\min}} \right)}} > 0};$${{h_{x} - x_{BotMin} - {\left( \frac{\left( {z_{\max} - z_{\min}} \right)}{\left( {x_{TopMin} - x_{BotMin}} \right)} \right)*\left( {h_{y} - z_{\min}} \right)}} < 0};$

If the location information of the second virtual object meets foregoingsecond requirement, it is determined that the second virtual object islocated between the second edge and fourth edge in the trapezoidal scope71.

When the location information of the second virtual object meets thefirst and second requirements, it is determined that the second virtualobject is located within the effective execution area.

The client may select at least one candidate virtual object frommultiple second virtual objects, based on operation attributes offoregoing first operation. The operation attributes include an attackattribute and a gain attribute. The attack attribute refers to thatforegoing first operation may reduce the attribute value of othervirtual objects. The gain attribute refers to that foregoing firstoperation may increase the attribute value of other virtual objects.Foregoing attribute value may include a life value, a defense value, oran attack speed, etc., which are not limited by the embodiments of thepresent disclosure. If foregoing first operation is identified as anattack operation, the client identifies a virtual object, which belongsto a different camp from the first virtual object, in the effectiveexecution area as the candidate virtual objects. If foregoing firstoperation is identified as a gain operation, the client identifies avirtual object, which belongs to the same camp with the first virtualobject, in the effective execution area as the candidate virtualobjects.

In block 806, select a target virtual object from one or more candidatevirtual objects, based on an object selection criteria.

The object selection criteria refers to a selection method of an actiontarget corresponding to the first operation. The object selectioncriteria includes an action scope of the first operation and a targetselection index. The action scope of the first operation is configuredto indicate an effect scope of foregoing first operation. The effectscope may be represented by a scope with a certain area and shape, or bythe number of target virtual objects. The target selection index isconfigured to indicate a selection criteria of the target virtualobject. The selection criteria may be an attribute value of the secondvirtual object. For example, the selection criteria is a life value ofthe second virtual object. Subsequently, the client may select a secondcandidate virtual object with the smallest life value in the effectiveexecution area as the target virtual object.

In the embodiments of the present disclosure, after obtaining foregoingat least one candidate virtual object, the client may select the targetvirtual object from the at least one candidate virtual object, based onthe object selection criteria of the first operation. A differentoperation corresponds to a different object selection criteria.

It should be noted that, foregoing object selection criteria may be arule preset by a designer, and may also be a rule that is flexiblychanged this time according to certain embodiments of the presentdisclosure. For example, the preset rule may change, based on aninteractive operation or attribute value of the first virtual object.For example, when the usage count of the first operation of the firstvirtual object is different, foregoing object selection criteria may bedifferent. For another example, when the attack power of the firstvirtual object is different, foregoing object selection criteria may bedifferent, which is not limited by the embodiments of the presentdisclosure.

In view of above, in the technical solutions provided by the embodimentsof the present disclosure, the target virtual object corresponding tothe first operation is selected from the effective execution area,thereby improving the accuracy for selecting the target virtual objecton a user interface of a terminal. The target virtual object is selectedbased on the object selection criteria, thereby the selection of thetarget virtual object is more flexible.

In addition, a different target virtual object is determined, based ondifferent effects of the first operation, such that the selection of thetarget virtual object is more flexible.

In addition, in conjunction with FIG. 9, an introduction to theapplication is provided.

In block 901, a client displays a user interface.

In block 902, the client obtains relevant parameters about a predefinedexecution area of a first operation of a first virtual object, in whichthe relevant parameters of the predefined execution area includelocation information of the first virtual object and a predefinedexecution distance of the first operation.

In block 903, the client obtains the predefined execution area of thefirst operation, based on the relevant parameters of the predefinedexecution area.

In block 904, the client obtains location information of a secondvirtual object within the predefined execution area.

In block 905, the client obtains a visible boundary scope.

In block 906, the client determines whether the second virtual objectthat resides in the predefined execution area meets a requirement. Ifthe second virtual object that reside in the predefined execution areameets the requirement, the client determines that the second virtualobject is located in an effective execution area, and executes block907. If the second virtual object that resides in the predefinedexecution area does not meet the requirement, the client determines thatthe second virtual object is not located within the effective executionarea, and terminates the process.

In block 907, the client selects a virtual object from multiple secondvirtual objects within the effective execution area, based on operationattributes of the first operation, and takes the selected virtual objectas a candidate virtual object, in which the selected virtual objectbelongs to the same camp with the first virtual object, or belongs to adifferent camp from the first virtual object.

In block 908, the client selects a target virtual object from one ormore candidate virtual objects, based on an object selection criteria,and takes the selected target virtual object as an action target of thefirst operation.

The following are apparatus embodiments of the present disclosure, whichmay be configured to execute method embodiments of the presentdisclosure. Details not disclosed in the apparatus embodiments of thepresent disclosure, may be found in method embodiments of the presentdisclosure.

FIG. 10 is a block diagram of an apparatus for selecting a virtualobject on a user interface of a terminal, in accordance with anembodiment of the present disclosure. The apparatus has the function ofrealizing the selection method of above virtual object. Such functionmay be implemented by hardware, and may also be implemented by hardwareexecuting corresponding software. The apparatus may be the terminal, andmay also be set in the terminal. An apparatus 1000 may include aninterface display module 1010, an area obtaining module 1020, a boundaryobtaining module 1030, an area determining module 1040 and an objectdetermining module 1050.

The interface display module 1010 is configured to display a userinterface. The user interface includes a display screen corresponding toa virtual environment, and further includes a first virtual objectlocated in the virtual environment.

The area obtaining module 1020 is configured to obtain a predefinedexecution area of a first operation of the first virtual object withinthe virtual environment.

The boundary obtaining module 1030 is configured to obtain a visibleboundary scope of the virtual environment. Virtual objects that residein the visible boundary scope are visible on the user interface.

The area determining module 1040 is configured to determine, based onthe predefined execution area and the visible boundary scope, aneffective execution area of the first operation within the virtualenvironment.

The object determining module 1050 is configured to determine, based onthe effective execution area, a target virtual object.

In an exemplary embodiment, the boundary obtaining module 1030 includesa two-dimensional obtaining unit 1031, a coordinate obtaining unit 1032and a boundary obtaining unit 1033.

The two-dimensional obtaining unit 1031 is configured to process athree-dimensional visual representation in the virtual environment, andobtain a two-dimensional visual representation of the virtualenvironment by the processing of the three-dimensional visualrepresentation.

The coordinate obtaining unit 1032 is configured to obtain, from thetwo-dimensional visual representation of the virtual environment,coordinates of feature points of the visible boundary scope within thevirtual environment.

The boundary obtaining unit 1033 is configured to obtain, based on thecoordinates of the feature points in the virtual environment, thevisible boundary scope.

In an exemplary embodiment, the boundary obtaining unit 1033 includes acoordinate obtaining subunit.

The coordinate obtaining subunit is configured to obtain, based onparameters of a virtual camera, coordinates of the feature points of thevisible boundary scope within the virtual environment. The parametersinclude a location parameter and a rotation parameter. The locationparameter is configured to determine the location of the virtual camerain the virtual environment. The rotation parameter is configured todetermine a shooting angle value of the virtual camera in the virtualenvironment.

In an exemplary embodiment, the coordinate obtaining subunit isconfigured to adjust, based on screen parameters, the parameters of thevirtual camera, and obtain the location parameter and the rotationparameter of the virtual camera, by the process of the adjustments. Thescreen parameters include parameters of screen size and screenresolution. The coordinate obtaining subunit is configured to obtain,based on the location parameter and the rotation parameter, thecoordinates of the feature points of the visible boundary scope withinthe virtual environment.

In an exemplary embodiment, the area obtaining module 1020 is configuredto obtain the location information of the first virtual object in thevirtual environment, and determine, based on the location informationand the predefined execution distance of the first operation, thepredefined execution area of the first operation in the virtualenvironment.

In an exemplary embodiment, the object determining module 1050 includesa candidate determining unit 1051 and a target determining unit 1052.

The candidate determining unit 1051 is configured to determine a secondvirtual object within the effective execution area as a candidatevirtual object.

The target determining unit 1052 is configured to select the targetvirtual object from one or more candidate virtual objects, based on anobject selection criteria.

In an exemplary embodiment, the visible boundary scope is a trapezoidalarea enclosed by a first edge, a second edge, a third edge and a fourthedge. The first edge is parallel to the third edge. As shown in FIG. 11,the apparatus 1000 further includes a location determining module 1060.

The location determining module 1060 is configured to obtain locationinformation of the second virtual object in the predefined executionarea. When the location information of the second virtual object islocated between the first edge and the third edge, the locationdetermining module 1060 is configured to determine that the secondvirtual object meets a first requirement. When the location informationof the second virtual object is located between the second edge and thefourth edge, the location determining module 1060 is configured todetermine that the second virtual object meets a second requirement.When the second virtual object meets the first requirement and thesecond requirement, the location determining module 1060 is configuredto determine that the second virtual object is located in the effectiveexecution area.

In an exemplary embodiment, when the first operation is identified as anattack operation, the candidate determining unit 1051 is configured todetermine a virtual object, which belongs to a different camp from thefirst virtual object, in the effective execution area as the candidatevirtual object. Alternatively, when the first operation is identified asa gain operation, the candidate determining unit 1051 is configured todetermine a virtual object, which belongs to the same camp as the firstvirtual object, in the effective execution area as the candidate virtualobject.

In view of above, in the technical solutions provided by the embodimentsof the present disclosure, the effective execution area of the firstoperation is determined, based on the predefined execution area of thefirst operation and the visible boundary scope of the virtualenvironment. The target virtual object corresponding to the firstoperation is determined, based on the effective execution area.Subsequently, the target virtual object is located within the visibleboundary scope, thereby ensuring that the action target of the firstoperation is located within the visible scope of the user, avoiding anoperation misjudgment resulted from the following scene, i.e., theaction target is located in the invisible scope of the user, andimproving the accuracy for selecting the action target of the firstoperation.

It should be noted that, for the apparatus provided by foregoingembodiment, when implementing functions thereof, only the division offoregoing functional modules is taken as an example. In practicalimplementations, foregoing functions may be allocated to differentfunctional modules to be performed, as may be desirable. That is, aninternal structure of the device is divided into different functionalmodules, so as to complete all of or some functions described above. Inaddition, the apparatus provided by foregoing embodiments and methodembodiments belong to the same concept. The specific implementationprocess may refer to method embodiments, which are not repeated here.

FIG. 12 is a block diagram illustrating structure of a terminal 1200, inaccordance with an embodiment of the present disclosure. The terminal1200 may be an electronic device, such as a mobile phone, a tabletcomputer, a game host, an ebook reader, a multimedia playback device, awearable device and a Personal Computer (PC). The terminal is configuredto implement the method for selecting a virtual object provided byforegoing embodiment. The terminal may be the terminal 10 in the gamerunning environment illustrated with FIG. 1.

Generally, the terminal 1200 includes a processor 1201 and a memory1202.

The processor 1201 may include one or more processing core, e.g., a4-core processor, a 8-core processor, and so on. The processor 1201 maybe implemented by at least one hardware form, e.g., Digital SignalProcessing (DSP), Field Programmable Gate Array (FPGA), ProgrammableLogic Array (PLA). The processor 1201 may also include a main processorand a coprocessor. The main processor is a processor in charge ofprocessing data in awake state, which may also be referred to as aCentral Processing Unit (CPU). The coprocessor is a low-power processorconfigured to process data in the standby state. In some embodiments,the processor 1201 may be integrated with a Graphics Processing Unit(GPU). The GPU is configured to render and draw contents to be displayedon the display. In some embodiments, the processor 1201 may also includean Artificial Intelligence (AI) processor. The AI processor isconfigured to process computing operations related with machinelearning.

The memory 1202 may include one or more computer readable storagemedium. The computer readable storage medium may be non-transitory. Thememory 1202 may also include a high-speed Random Access Memory (RAM),and a non-transitory memory, e.g., one or more disk storage device,flash storage device. In some embodiments, the non-transitory computerreadable storage medium in the memory 1202 is configured to store atleast one instruction, at least one program, code set or instructionset, in which the at least one instruction, at least one program, codeset or instruction set are configured and processed by one or moreprocessor, so as to implement foregoing method for selecting a virtualobject.

In some embodiments, the terminal 1200 may also include a peripheraldevice interface 1203 and at least one peripheral device. The processor1201, the memory 1202 and the peripheral device interface 1203 may beconnected through a bus or signal line. Each peripheral device may beconnected with the peripheral device interface 1203 through the bus, thesignal line or a circuit board. In certain embodiments, the peripheraldevice includes at least one of a Radio Frequency (RF) circuit, adisplay (e.g., a touch screen) 1205, a camera component 1206, an audiocircuit 1207, a locating component 1208, a power supply 1209.

Persons having ordinary skill in the art may understand that, thestructure shown in FIG. 12 does not limit the terminal 1200. Theterminal 1200 may include more or less components compared with thatshown in FIG. 12, or combine some components, or adopt a differentcomponent layout.

In an exemplary embodiment, a computer readable storage medium is alsoprovided. The storage medium stores at least one instruction, at leastone program, code set or instruction set, in which when the at least oneinstruction, the at least one program, the code set or instruction setare executed by the processor, the method for selecting a virtual objectis implemented.

The computer readable storage medium may include a Read Only Memory(ROM), a Random Access Memory (RAM), a Solid State Drives (SSD) or aCompact Disk (CD), and so on. The RAM may include a Resistance RandomAccess Memory (ReRAM) and a Dynamic Random Access Memory (DRAM).

In an exemplary embodiment, a computer program product is also provided.When the computer program product is executed by the processor,foregoing method for selecting a virtual object is achieved.

The term unit (and other similar terms such as subunit, module,submodule, etc.) in this disclosure may refer to a software unit, ahardware unit, or a combination thereof. A software unit (e.g., computerprogram) may be developed using a computer programming language. Ahardware unit may be implemented using processing circuitry and/ormemory. Each unit can be implemented using one or more processors (orprocessors and memory). Likewise, a processor (or processors and memory)can be used to implement one or more units. Moreover, each unit can bepart of an overall unit that includes the functionalities of the unit.

It should be understood that, “multiple” mentioned in the presentdisclosure refers to two or more. “And/or” describes an associatedrelationship of associated objects, which indicates that there may bethree relationships, e.g., A and/or B may indicate three situations, Aexists independently, A and B simultaneously exist, B existsindependently. The character “/” generally represents that there is a“or” relationship between the former and subsequent associated objects.In addition, the block numbers described in the present disclosure onlyexemplarily illustrate one possible execution order among blocks. Insome other embodiments, foregoing blocks may be performed not accordingto the sequence of the numbers, e.g., two blocks with different numbersare performed simultaneously, or two blocks with different numbers areperformed according to an inverse order illustrated in the figure, whichare not limited by the embodiments of the present disclosure.

The foregoing are only exemplary embodiments of the present disclosure,which are not for use in limiting the present disclosure. Anymodifications, equivalent substitutions, or improvements made within thespirit and principle of the present disclosure should be covered by theprotection scope of the present disclosure.

What is claimed is:
 1. A method for selecting a virtual object on a userinterface of a terminal, performed by the terminal, the methodcomprising: displaying the user interface, wherein the user interfaceincludes a display screen corresponding to a virtual environment, andfurther includes a first virtual object located in the virtualenvironment; obtaining a predefined execution area of a first operationof the first virtual object within the virtual environment; obtaining avisible boundary scope of the virtual environment, wherein virtualobjects that reside in the visible boundary scope are visible on theuser interface; determining, based on the predefined execution area andthe visible boundary scope, an effective execution area of the firstoperation within the virtual environment; and determining, based on theeffective execution area, a target virtual object.
 2. The methodaccording to claim 1, wherein determining the effective execution areacomprises: identifying an intersection area of the predefined executionarea and the visible boundary scope as the effective execution area ofthe first operation.
 3. The method according to claim 1, whereinobtaining the visible boundary scope comprises: processing athree-dimensional visual representation of the virtual environment;obtaining a two-dimensional visual representation of the virtualenvironment by the processing of the three-dimensional visualrepresentation; obtaining, from the two-dimensional visualrepresentation, coordinates of feature points of the visible boundaryscope within the virtual environment; and obtaining, based on thecoordinates of the feature points, the visible boundary scope.
 4. Themethod according to claim 3, wherein obtaining the coordinates of thefeature points comprises: obtaining, based on parameters of a virtualcamera, coordinates of the feature points of the visible boundary scopewithin the virtual environment; wherein the parameters include alocation parameter and a rotation parameter, the location parameter isconfigured to determine the location of the virtual camera in thevirtual environment, the rotation parameter is configured to determine ashooting angle value of the virtual camera in the virtual environment.5. The method according to claim 4, wherein obtaining the coordinates ofthe feature points comprises: adjusting, based on screen parameters, theparameters of the virtual camera; obtaining the location parameter andthe rotation parameter of the virtual camera, by the process of theadjustments, wherein the screen parameters include parameters of screensize and screen resolution; and obtaining, based on the locationparameter and the rotation parameter, the coordinates of the featurepoints of the visible boundary scope within the virtual environment. 6.The method according to claim 1, wherein obtaining the predefinedexecution area comprises: obtaining the location information of thefirst virtual object within the virtual environment; and, determining,based on the location information and a predefined execution distance ofthe first operation, the predefined execution area of the firstoperation in the virtual environment.
 7. The method according to claim1, wherein determining the target virtual object comprises: determininga second virtual object within the effective execution area as acandidate virtual object; selecting the target virtual object from oneor more candidate virtual object based on an object selection criteria.8. The method according to claim 7, wherein the visible boundary scopeis a trapezoidal area enclosed by a first edge, a second edge, a thirdedge and a fourth edge, the first edge is parallel to the third edge,and the method further comprises: obtaining the location information ofthe second virtual object in the predefined execution area; when thelocation information of the second virtual object is located between thefirst edge and the third edge, determining that the second virtualobject meets a first requirement; when the location information of thesecond virtual object is between the second edge and the fourth edge,determining that the second virtual object meets a second requirement;and when the second virtual object meets the first requirement and thesecond requirement, determining that the second virtual object islocated in the effective execution area.
 9. The method according toclaim 7, wherein determining the second virtual object comprises: whenthe first operation is identified as an attack operation, identifying avirtual object, which belongs to a different camp from the first virtualobject, in the effective execution area as the candidate virtual object.10. The method according to claim 7, wherein determining the secondvirtual object comprises: when the first operation is identified as again operation, identifying a virtual object which belongs to the samecamp with the first virtual object, in the effective execution area asthe candidate virtual object.
 11. An apparatus for selecting a virtualobject on a user interface of a terminal, the apparatus comprising: amemory storing computer program instructions; and a processor coupled tothe memory and configured to execute the computer program instructionsand perform: displaying the user interface, wherein the user interfaceincludes a display screen corresponding to a virtual environment, andfurther includes a first virtual object located in the virtualenvironment; obtaining a predefined execution area of a first operationof the first virtual object within the virtual environment; obtaining avisible boundary scope of the virtual environment, wherein virtualobjects that reside in the visible boundary scope are visible on theuser interface; determining, based on the predefined execution area andthe visible boundary scope, an effective execution area of the firstoperation within the virtual environment; and, determining, based on theeffective execution area, a target virtual object.
 12. The apparatusaccording to claim 11, wherein the processor is further configured toexecute the computer program instructions and perform: identifying anintersection area of the predefined execution area and the visibleboundary scope as the effective execution area of the first operation.13. The apparatus according to claim 11, wherein the processor isfurther configured to execute the computer program instructions andperform: processing a three-dimensional visual representation of thevirtual environment, obtain a two-dimensional visual representation ofthe virtual environment by the processing of the three-dimensionalvisual representation; obtaining, from the two-dimensional visualrepresentation of the virtual environment, coordinates of feature pointsof the visible boundary scope within the virtual environment; and,obtaining, based on the coordinates of the feature points within thevirtual environment, the visible boundary scope.
 14. The apparatusaccording to claim 13, wherein the processor is further configured toexecute the computer program instructions and perform: obtaining, basedon parameters of a virtual camera, coordinates of the feature points ofthe visible boundary scope within the virtual environment; wherein theparameters include a location parameter and a rotation parameter, thelocation parameter is configured to determine the location of thevirtual camera in the virtual environment, the rotation parameter isconfigured to determine a shooting angle value of the virtual camera inthe virtual environment.
 15. The apparatus according to claim 14,wherein obtaining the coordinates of the feature points comprises:adjusting, based on screen parameters, the parameters of the virtualcamera; obtaining the location parameter and the rotation parameter ofthe virtual camera, by the process of the adjustments, wherein thescreen parameters include parameters of screen size and screenresolution; and obtaining, based on the location parameter and therotation parameter, the coordinates of the feature points of the visibleboundary scope within the virtual environment.
 16. The apparatusaccording to claim 11, wherein obtaining the predefined execution areacomprises: obtaining the location information of the first virtualobject within the virtual environment; and, determining, based on thelocation information and a predefined execution distance of the firstoperation, the predefined execution area of the first operation in thevirtual environment.
 17. The apparatus according to claim 11, whereindetermining the target virtual object comprises: determining a secondvirtual object within the effective execution area as a candidatevirtual object; selecting the target virtual object from one or morecandidate virtual object based on an object selection criteria.
 18. Theapparatus according to claim 17, wherein the visible boundary scope is atrapezoidal area enclosed by a first edge, a second edge, a third edgeand a fourth edge, the first edge is parallel to the third edge, and theprocessor is further configured to execute the computer programinstructions and perform: obtaining the location information of thesecond virtual object in the predefined execution area; when thelocation information of the second virtual object is located between thefirst edge and the third edge, determining that the second virtualobject meets a first requirement; when the location information of thesecond virtual object is between the second edge and the fourth edge,determining that the second virtual object meets a second requirement;and when the second virtual object meets the first requirement and thesecond requirement, determining that the second virtual object islocated in the effective execution area.
 19. The apparatus according toclaim 17, wherein determining the second virtual object comprises: whenthe first operation is identified as an attack operation, identifying avirtual object, which belongs to a different camp from the first virtualobject, in the effective execution area as the candidate virtual object.20. A non-transitory computer-readable storage medium storing computerprogram instructions executable by at least one processor to perform:displaying a user interface of a terminal, wherein the user interfaceincludes a display screen corresponding to a virtual environment, andfurther includes a first virtual object located in the virtualenvironment; obtaining a predefined execution area of a first operationof the first virtual object within the virtual environment; obtaining avisible boundary scope of the virtual environment, wherein virtualobjects that reside in the visible boundary scope are visible on theuser interface; determining, based on the predefined execution area andthe visible boundary scope, an effective execution area of the firstoperation within the virtual environment; and determining, based on theeffective execution area, a target virtual object.